﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D5B RID: 3419
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PrivateMsgOfflineUsersScNotify : IMessage<PrivateMsgOfflineUsersScNotify>, IMessage, IEquatable<PrivateMsgOfflineUsersScNotify>, IDeepCloneable<PrivateMsgOfflineUsersScNotify>, IBufferMessage
	{
		// Token: 0x17002B63 RID: 11107
		// (get) Token: 0x0600997A RID: 39290 RVA: 0x00199F35 File Offset: 0x00198135
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PrivateMsgOfflineUsersScNotify> Parser
		{
			get
			{
				return PrivateMsgOfflineUsersScNotify._parser;
			}
		}

		// Token: 0x17002B64 RID: 11108
		// (get) Token: 0x0600997B RID: 39291 RVA: 0x00199F3C File Offset: 0x0019813C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PrivateMsgOfflineUsersScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002B65 RID: 11109
		// (get) Token: 0x0600997C RID: 39292 RVA: 0x00199F4E File Offset: 0x0019814E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PrivateMsgOfflineUsersScNotify.Descriptor;
			}
		}

		// Token: 0x0600997D RID: 39293 RVA: 0x00199F55 File Offset: 0x00198155
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PrivateMsgOfflineUsersScNotify()
		{
		}

		// Token: 0x0600997E RID: 39294 RVA: 0x00199F68 File Offset: 0x00198168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PrivateMsgOfflineUsersScNotify(PrivateMsgOfflineUsersScNotify other) : this()
		{
			this.contactUidList_ = other.contactUidList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600997F RID: 39295 RVA: 0x00199F92 File Offset: 0x00198192
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PrivateMsgOfflineUsersScNotify Clone()
		{
			return new PrivateMsgOfflineUsersScNotify(this);
		}

		// Token: 0x17002B66 RID: 11110
		// (get) Token: 0x06009980 RID: 39296 RVA: 0x00199F9A File Offset: 0x0019819A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ContactUidList
		{
			get
			{
				return this.contactUidList_;
			}
		}

		// Token: 0x06009981 RID: 39297 RVA: 0x00199FA2 File Offset: 0x001981A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PrivateMsgOfflineUsersScNotify);
		}

		// Token: 0x06009982 RID: 39298 RVA: 0x00199FB0 File Offset: 0x001981B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PrivateMsgOfflineUsersScNotify other)
		{
			return other != null && (other == this || (this.contactUidList_.Equals(other.contactUidList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009983 RID: 39299 RVA: 0x00199FE4 File Offset: 0x001981E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.contactUidList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009984 RID: 39300 RVA: 0x0019A018 File Offset: 0x00198218
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009985 RID: 39301 RVA: 0x0019A020 File Offset: 0x00198220
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009986 RID: 39302 RVA: 0x0019A029 File Offset: 0x00198229
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.contactUidList_.WriteTo(ref output, PrivateMsgOfflineUsersScNotify._repeated_contactUidList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009987 RID: 39303 RVA: 0x0019A050 File Offset: 0x00198250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.contactUidList_.CalculateSize(PrivateMsgOfflineUsersScNotify._repeated_contactUidList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009988 RID: 39304 RVA: 0x0019A089 File Offset: 0x00198289
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PrivateMsgOfflineUsersScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.contactUidList_.Add(other.contactUidList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009989 RID: 39305 RVA: 0x0019A0B7 File Offset: 0x001982B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600998A RID: 39306 RVA: 0x0019A0C0 File Offset: 0x001982C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U && num != 114U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.contactUidList_.AddEntriesFrom(ref input, PrivateMsgOfflineUsersScNotify._repeated_contactUidList_codec);
				}
			}
		}

		// Token: 0x04003B0B RID: 15115
		private static readonly MessageParser<PrivateMsgOfflineUsersScNotify> _parser = new MessageParser<PrivateMsgOfflineUsersScNotify>(() => new PrivateMsgOfflineUsersScNotify());

		// Token: 0x04003B0C RID: 15116
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003B0D RID: 15117
		public const int ContactUidListFieldNumber = 14;

		// Token: 0x04003B0E RID: 15118
		private static readonly FieldCodec<uint> _repeated_contactUidList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x04003B0F RID: 15119
		private readonly RepeatedField<uint> contactUidList_ = new RepeatedField<uint>();
	}
}
